package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.MaterialTagRelation;
import com.xjscrm.console.param.materialLibrary.MaterialTagRelationQuery;
import com.xjscrm.console.vo.MaterialTagRelationVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MaterialTagRelationMapper {
    List<MaterialTagRelationVo> getMaterialTagRelationList(MaterialTagRelationQuery materialTagRelationQuery);

    int delById(@Param("id") Long id, @Param("merId") Long merId);

    int add(MaterialTagRelation materialTagRelation);

}
